package com.sc.service;

import com.github.pagehelper.PageInfo;
import com.sc.pojo.Information;

/**
 * @author 陈远坤
 */
public interface InformationService {
    public void addInformation(Information ins);
    public PageInfo<Information> selectAllInfs(Integer id,Integer pageNum,Integer pageSize);
    public PageInfo<Information> selectAllInfsByLikes(Integer id,Integer pageNum,Integer pageSize,String likes);
    public void updateAcceptState(Integer id);
    public void deleteById(Integer id);
    public PageInfo<Information> selectAllLjInfos(Integer id,Integer pageNum,Integer pageSize);
    public PageInfo<Information> selectAllLjInfosByLikes(Integer id,Integer pageNum,Integer pageSize,String likes);
    public void updateAcceptStateinLjx(Integer id);
    public void updateAcceptStateByYidu(Integer id);
    public PageInfo<Information> selectAllInfsByMy(Integer id,Integer pageNum,Integer pageSize);
    public PageInfo<Information> selectAllInfsByMyByLikes(Integer id,Integer pageNum,Integer pageSize,String likes);
    public void updateSend(Integer id);
}
